package com.sky.service;

import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.result.PageResult;
import com.sky.vo.DishVO;
import io.swagger.models.auth.In;

import java.util.List;

/**
 * @Author: WangHongKun
 * @Date: 2022/9/22 16:58
 * @Email: 2028911483@qq.com
 * @Phone: 18683977706
 */


public interface DishService {

    void addDish(DishDTO dishDTO);

    PageResult<DishVO> pageQuery(DishPageQueryDTO dishPageQueryDTO);

    void DeleteAll(String ids);

    void startOrStop(Long id , Integer status);

    void Update(DishDTO dishDTO);

    DishVO  getById(Long id);

    List<Dish> getByCategoryId(Long categoryId);

    List<DishVO> getVoByCategoryId(Long categoryId);
}
